package com.imooc.sell.enums;

import lombok.Getter;

@Getter
public enum PayStatusEnum {
    PAY_STATUS_WAIT(Short.parseShort("0"), "待支付"),
    PAY_STATUS_FINISH(Short.parseShort("1"), "支付完成"),
    PAY_STATUS_BACK(Short.parseShort("2"), "已退款"),
    PAY_STATUS_BACKING(Short.parseShort("3"), "退款中");
    private Short code;
    private String msg;

    PayStatusEnum(Short code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
